package com.zb;

import com.zb.util.FileUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class MyFileApplication {
    public static void main(String[] args) throws Exception {
        ConfigurableApplicationContext run = SpringApplication.run(MyFileApplication.class, args);
        FileUtil bean = run.getBean(FileUtil.class);
        bean.upload();
        //http://192.168.200.128:80/group1/M00/00/00/wKjIgGNSPRCATI20ADQRbSP7hcU447.mp4
    }
}
